package com.tanhua.dubbo.api;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.tanhua.model.db.UserInfo;
import com.tanhua.model.domain.BlackList;

public interface BlackListApi {
    //根据id查询
    IPage<UserInfo> findByUserId(Long userId, Integer page, Integer pageSize);

    //删除黑名单
    void delete(Long userId, Long blackUserId);

}
